import React, { Component } from 'react'
import Common from './common'
import Registe from './Registe'
import Login from './Login'
export default class App extends Component {
  render() {
    return (
      <div>
        {/* 第一个common实例的子组件要求是login */}
        <Common child={Login}></Common>
        {/* 第二个common实例的子组件要求是registe */}
        <Common child={Registe}></Common>
      </div>
    )
  }
}
